package com.project.springboot.enums;

import lombok.Getter;

/**
 * Description：商品状态枚举类
 * Created by 朱正磊 on 2019/3/18 0018 下午 2:57
 */
@Getter
public enum ProductStatusEnum implements CodeEnum {

    UP(0, "上架"),
    DOWN(1, "下架")
    ;

    private Integer code;
    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
